import qs from 'qs'
import request from '@/utils/request'
// 签名
import _bale from '@/utils/package'
// 获取资金列表
export function getFinanceList(params) {
  return request({
    url: '/capital/getSupplierTransactionOrder',
    method: 'post',
    data: qs.stringify(_bale('getSupplierTransactionOrder', params))
  })
}
// 获取供应商交易明细
export function getTradeList(params) {
  return request({
    url: '/capital/getSupplierTransactionOrder',
    method: 'post',
    data: qs.stringify(_bale('getSupplierTransactionOrder', params))
  })
}
// 获取供应商运费交易明细
export function getFreightList(params) {
  return request({
    url: '/capital/getSupplierTransactionFreight',
    method: 'post',
    data: qs.stringify(_bale('getSupplierTransactionFreight', params))
  })
}
